package cn.openea.perpartner.componet.web.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;

/**
 * @Name: 消息发送参数
 * @author: Mr.Yun
 * @Created: 2023/2/9 15:38
 */
@Data
public class MsgDto implements Serializable {

    private static final long serialVersionUID = -409079561449089409L;

    @ApiModelProperty(value = "记录id")
    private String id;

    @ApiModelProperty(value = "消息类型：机会/积分/平台/提醒，默认值是通知")
    private String showType = "通知";

    @ApiModelProperty(value = "公众号对应的消息模板id")
    private String templateid;

    @ApiModelProperty(value = "消息的头提示，常用于主题显示")
    private String first;
    @ApiModelProperty(value = "业务字段1")
    private String keyword1;
    @ApiModelProperty(value = "业务字段2")
    private String keyword2;
    @ApiModelProperty(value = "业务字段3")
    private String keyword3;
    @ApiModelProperty(value = "业务字段4")
    private String keyword4;
    @ApiModelProperty(value = "业务字段5")
    private String keyword5;
    @ApiModelProperty(value = "业务字段6")
    private String keyword6;
    @ApiModelProperty(value = "备注信息")
    private String remark;

    @ApiModelProperty(value = "所需跳转到的小程序appid")
    private String miniappid;
    @ApiModelProperty(value = "所需跳转到小程序的具体页面路径，支持带参数,（示例index?foo=bar）")
    private String pagepath;
    @ApiModelProperty(value = "模板跳转链接")
    private String url;
    @ApiModelProperty(value = "小程序的模板url地址")
    private String showtemplateurl;

    @ApiModelProperty(value = "消息在公众号中发送状态Y/N")
    private String msgstatus;

    @ApiModelProperty(value = "是否需要发送公众号Y/N")
    private String needsend;

    @ApiModelProperty(value = "接收消息的个人社区id")
    private String userid;

    @ApiModelProperty(value = "流程对应的实例id")
    private String docUnid;

    @ApiModelProperty(value = "消息是否已读")
    private String alreadyRead;

    @ApiModelProperty(value = "是否已经删除（1为已删除，0为未删除）")
    private String deleted;

    @ApiModelProperty(value = "创建者id")
    private String createdUserid;

    @ApiModelProperty(value = "创建时间")
    private String createdTime;

    @ApiModelProperty(value = "最后更新时间")
    private String updateTime;

}
